﻿$(function () {
    $('#container3d').highcharts({
        chart: {
            type: 'pie',
            options3d: {
				enabled: true,
                alpha: 45,
                beta: 0,
            }
        },
        title: {
            text: ''
        },
        credits: {
            enabled: false // 禁用版权信息
        },
        plotOptions: {
            pie: {
                depth: 25
            }
        },
        series: [{
            name: "交易货币比",
            data: [
                      ['AUDCAD.', 30],
                      ['AUDCAD.', 10],
                      ['AUDCAD.', 5],
                      ['AUDCAD.', 5],
                      ['AUDCAD.', 7],
                      ['AUDCAD.', 13],
                      ['AUDCAD.', 10],
                      ['AUDCAD.', 10],
                      ['AUDCAD.', 2],
                      ['AUDCAD.', 8]
                  ]
        }]
    });

    $('#containerLine').highcharts({
        title: {
            text: ''
        },
        subtitle: {
            text: ''
        },
        credits: {
            enabled: false // 禁用版权信息
        },
        xAxis: {
            categories: ['02/20', '02/26', '03/04', '03/10', '03/16', '03/22','03/28']
        },
        colors: [
            '#ffae3c'
        ],
        yAxis: {
            title: {
                text: ''
            },
            plotLines: [{
                value: 0,
                width: 1,
                color: '#808080'
            }]
        },
        tooltip: {
            valuePrefix : '$'
        },
        series: [{
            name: '总收益',
            data: [0, 43, 150, 118, 135, 200, 282.47]
        }]
    });
});